package com.wwu.system.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.List;

/**
 * 下拉选择框多选实体
 * @author 一蓑烟雨
 * @date 2023/6/18 14:28
 */
@Data
@Accessors(chain = true)
@ApiModel(value="XmSelectVO:下拉选择框多选实体", description="下拉选择框多选实体")
public class XmSelectVO {
    @ApiModelProperty(value = "选择框选项名称")
    @JSONField(ordinal = 1)
    private String name;

    @ApiModelProperty(value = "选择框选项值")
    @JSONField(ordinal = 2)
    private String value;

    @ApiModelProperty(value = "选择框选项是否选中")
    @JSONField(ordinal = 3)
    private Boolean selected = false;

    @ApiModelProperty(value = "选择框选项是否可选")
    @JSONField(ordinal = 4)
    private Boolean disabled = false;

    @ApiModelProperty(value = "选择框排序码")
    @JSONField(ordinal = 5)
    private Integer sort;

    @ApiModelProperty(value = "选择框的项父级Id")
    @JSONField(ordinal = 6)
    private String parentId;

    @ApiModelProperty(value = "下拉框子选项")
    @JSONField(ordinal = 8)
    private List<XmSelectVO> children;
}
